package org.example.flow.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName t_flow
 */
@TableName(value ="t_flow")
@Data
public class Flow implements Serializable {
    /**
     * 唯一标识(雪花算法)
     */
    @TableId
    private String id;

    /**
     * 通知人
     */
    private String name;

    /**
     * 农作物部门id
     */
    private Integer deptId;

    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private String status;

    /**
     * 
     */
    private String productionName;

    /**
     *
     */
    private Integer productionNum;

    /**
     *
     */
    private Integer businessId;
    /**
     *
     */

    private Integer marketId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private String[] remarks;
    @TableField(exist = false)
    private String productId;
    @TableField(exist = false)
    private String businessName;
    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private String shopname;
}